home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / ldapjdk.jar / netscape / ldap / ber / stream / BERNull.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-04-13  |  661 b   |  28 lines

  1. package netscape.ldap.ber.stream;
  2.  
  3. import java.io.IOException;
  4. import java.io.InputStream;
  5. import java.io.OutputStream;
  6.  
  7. public class BERNull extends BERElement {
  8.    public BERNull() {
  9.    }
  10.  
  11.    public BERNull(InputStream var1, int[] var2) throws IOException {
  12.       BERElement.readLengthOctets(var1, var2);
  13.    }
  14.  
  15.    public void write(OutputStream var1) throws IOException {
  16.       byte[] var2 = new byte[]{5, 0};
  17.       var1.write(var2);
  18.    }
  19.  
  20.    public int getType() {
  21.       return 5;
  22.    }
  23.  
  24.    public String toString() {
  25.       return "Null {}";
  26.    }
  27. }
  28.